Take into account active module when navigating to route.
Remove unused methods.