A general framework for construction of workflows.