Extract more validations for validator classes.