Refactoring of MenuItem into ItemMenu.