Cleaning up the routes.