Added a block-based NSMenuItem