Added getParentNode and getBaseNode.