Refactored RouteEntry for better seperation.