should this be moved to the template definition?
```
[template public genOpaqueActions(anActivityNode : ActivityNode) {
anOpaqueAction : OpaqueAction = anActivityNode;
}]