Added an extension hook to the updated main menu.