Clean up routes.