User provided TemplateFunctions are currently set once per TemplateExecutor instance and never updated. This is problematic because if TemplateFunctions maintains state, all executions within the same TemplateExecutor instance share the same state. Instead, each template execution should have its own separate TemplateFunctions instance to ensure isolation and prevent unintended state persistence.