the unique_id field for the TemplateContext struct is currently not unique.
If it was named after operation type like subscribe_{operation_id} we could also name the handler functions after them and wouldn't need to add the prefix handler{unique_id} to them in the templates.