hided TreeNode implementation.