Allow passing options to the validator