This follows from the Creating a Workflow Type recipe, as we need a workflow document class.
18.119.28.237