@nyeholt So the shorthand would just be

     $template = WorkflowTemplate::create($struct['constructor']);

right?