Added quite a bit of functionality to the section tree