Extends the NSMenuItem class