fetchAllTemplates will return a list