 
   @providers      = PROVIDERS
 
-  @fetchProviders = secure (client, callback)->
+  @fetchProviders = secure (client, callback) ->
     callback null, Object.keys PROVIDERS
 
 
 
-  @ping = (client, options, callback)->
-
-    {provider} = options
+  @ping = (client, options, callback) ->
+
+    { provider } = options
     provider.ping client, options, callback
 
-  @ping$ = permit 'ping machines', success: revive
-
-    shouldReviveClient   : yes
-    shouldPassCredential : yes
-
-  , @ping
-
+  @ping$ = permit 'ping machines',
+    success: revive {
+      shouldReviveClient   : yes
+      shouldPassCredential : yes
+    }, @ping
 
 
   @create = revive

    shouldReviveClient   : no
    shouldPassCredential : yes

  , (client, options, callback)->

    {provider} = options
    provider.fetchAvailable client, options, callback


  @fetchUsage$ = secure (client, options, callback)->
    ComputeProvider.fetchUsage client, options, callback

  @fetchUsage = revive

      console.log "Removing user #{oldUsername} vms..."

      JMachine.update
        provider      : { $in: ['koding', 'managed'] }
        credential    : oldUsername
      ,
        $set          :
          userDeleted : yes
      ,
        multi         : yes
      , (err) ->
        if err?
          console.error \
            "Failed to mark them as deleted for #{oldUsername}:", err

      return


