LibraryTreeTemplateSelector has been rewritten.