Cleanup of routes.