Add options to the validator.