Using validation functions with the Validation transform