support for TemplateStructure