Apply name to templates from DirectoryLoader#load.