I think you should be able to use the Appointment that's defined at the top. Not a big deal, but you don't want to be creating a new Model class on each request.