TemplateRepositoryWithLookup added.