Editing the Form class to correct build fail