modern syntax, support for NSMenu