Fix custom validators.