Match method to BaseValidator.