Updated Menu component to PageType structure.