Added container registration for Func<IRouteCache>