new support for menu as a plugin