Enable annotation mapping for Validator.