Remove unused routes from session resource.