Changes to work with TreeStyleTab.