Preparing refactoting of Task and Workflow.