Cleaning up routes.