def METHOD_NAME(self, dask_server=None, extra=None):
    self.server = dask_server
    self.extra = extra or {}
    self.plugin = WebsocketPlugin(self, self.server)
    self.server.add_plugin(self.plugin)