Fix menu item compatibility.