Fixed usage of 'class' keyword in TreeNode widget.