Refactor the requests.