Improve the TreeView class to need to creation of a new instance.