Allow customization of the validation process.