Added traversal methods to node.