RequiredIf class actually had to be higher in file