Lazy loading of controllers and templates.