TemplateExpression implementation