i would not use classes here, as then it becomes more complicated and if i have some random code that wants to create a menu item from an array i would need to create a class first.