Removing the hard coded model in the form type configuration