add support for item visitors to render menus