Refactored the allocation of arguments provided in the route to the request object