Validator base classes definitions