Create a parent-child relationship.

def pclink(self, parent, child):
    """Create a parent-child relationship."""
    if parent._children is None:
      parent._children = set()
    if child._parents is None:
      child._parents = set()
    parent._children.add(child)
    child._parents.add(parent)