Attach a listener to detect changes to data source's object collections and update the tree.