Added WillExpand and WillCollapse delegate methods
Converted a table method