Refactor the request.