Externalize menu as a plugin