       machine.update { $set: { users: [owner] } }, callback
 
 
-  @stop = secure authenticated (client, fileId, workspace, callback) ->
+  @stop = secure authenticated (client, fileId, channelId, callback) ->
 
     getRealtimeDocument fileId, (err, doc) ->
 

  @set
    sharedMethods :
      static      :
        stop      : (signature String, Object, Function)
        add       : (signature String, Object, Function)
        kick      : (signature String, Object, Function)


    return google_utils.authenticated options, method


  unshareMachine = (channelId, callback) ->

    JMachine.one { channelId }, (err, machine) ->
      owner = null

      for user in machine.users when user.sudo and user.owner
