def __init__(self, name, installer, args, api=2, help='', parent=None):
    self._id = None
    self._args = args
    self._name = name
    self._installer = installer
    self._help = help
    self._uninstaller = {1: om1.MMessage.removeCallback, 2: om.MMessage.removeCallback}[api]
def __init__(self, name, installer, args, api=2, help=, parent=None):
    self._id = None
    self._args = args
    self._name = name
    self._installer = installer
    self._help = help
    self._uninstaller = {1: om1.MMessage.removeCallback, 2: om.MMessage.removeCallback}[api]