Deprecated TreeNode-related methods.