Changed the NSMenu category from NSMenuItem * to id <NSMenuItem>