removing reference to RequiredIf class, its not used in the code