Add user-defined afterShowTree and afterBindTree methods

These will be used for auto-expanding the tree for certain paths