Adapted WorkflowController to use EntityController.