[ros-diffs] [weiden] 27941: Simplify and fix handling of menus for classes