Add and API to add custom validators
Add and API to add custom validators