Ah, I see. The idea was to allow only to register validator classes suiting for the given constraint.