Move MenuItem to its own class.