Start of the widget treeview implementation.