Added some methods to add parameters to a RESTRequest instance.