Method parameters derived from QueryParams now have appropriate types; Method parameters derived from QueryParams are now in a more appropriate order; Now setting the proper entity type when building EndpointDefs.