Added a cache for named routes.