Patch the getRequestParams method