Move route utils functions into Hike.