Added the concept of template routes to the route loader.