Added the ability to inherit a validator based on the :on option.