Added recording parents of the node.