Workflow pruning.

 - Add GetUpstreamTasks() and GetDownstreamTasks().