First part of the BufferTreeModel pimpification (maybe I should get of