Add sub class for submenus in tree