Support ActiveModel 4.0, which unfortunately does not send :class an an option to the validator’s constructor.