Added names to templates loaded via DirectoryLoader.