Allow passing options hash to a custom validator.