Gets the route to a specific destination
RouteEntry<T>? getRoute(T destination) => routes[destination];