Add support for nested menus