Added javadocs for MenuItem and MenuItemGroup.