genericized DAGNode and pushed concepts into Pig