Cleaning up unnecessary routes and views.