NSMenu and NSMenuItem extensions