Add support for multilevel menus. Fix #89