Added more options for MenuItem for how they can be displayed.