Added patch for submenu.