Moved add_menu_parent_class outide of setup function.