Removed getParentNodeIndex(int) as this is not used by anyone.