More general ValidatorBase type.