Add support for NSMenuItem#representedObject