def METHOD_NAME(self):
    pyblish.api.register_host("max")
    pyblish.api.register_plugin_path(PUBLISH_PATH)
    register_loader_plugin_path(LOAD_PATH)
    register_creator_plugin_path(CREATE_PATH)
    # self._register_callbacks()
    self.menu = OpenPypeMenu()
    self._has_been_setup = True
    def context_setting():
        return lib.set_context_setting()
    rt.callbacks.addScript(rt.Name('systemPostNew'),
                           context_setting)