Perhaps you can leave code for meterpreter, but restrict sessionTypes as "shell" only? I dunno.  Maybe one day we'll add support for OSX meterpreter.