Added support for custom field validators.