Added some useful functions for traversing the route.
Removed some logging info.