Added better support for parameters to be passed in to the request
method.