         callback new KodingError 'Account not found'
 
 
-  blockUser: secure (client, accountIdOrNickname, toDate, callback)->
+  blockUser: secure (client, accountIdOrNickname, durationMillis, callback)->
     {delegate} = client.connection
-    if delegate.can('flag', this) and accountIdOrNickname? and toDate?
+    if delegate.can('flag', this) and accountIdOrNickname? and durationMillis?
       @fetchUserByAccountIdOrNickname accountIdOrNickname, (err, {user, account})->
         return callback err if err
-        blockedDate = new Date(Date.now() + toDate)
+        blockedDate = new Date(Date.now() + durationMillis)
         account.sendNotification 'UserBlocked', { blockedDate }
         user.block blockedDate, callback
     else

      else
        @setEmailPreferences user, prefs, callback

  glanceMessages: secure (client, callback)->

  glanceActivities: secure (client, activityId, callback)->
    [callback, activityId] = [activityId, callback] unless callback
    {delegate} = client.connection

  modify: secure (client, fields, callback) ->
    if @equals(client.connection.delegate) and 'globalFlags' not in Object.keys(fields)
      @update $set: fields, callback

  setClientId:(@clientId)->

