Properly show the menu by autodetecting plugin class