Cleaning up and consolidating the remaining parts of routes.