This module collects domain validation routines to make input validation, and untainting easier and more readable.