Functions now return RouteLocation objects.