Cleans up routes