       @fetchAccountVmsBySelector delegate, selector, options, callback
 
   @fetchVms = secure (client, options, callback) ->
-      {delegate} = client.connection
-      @fetchAccountVmsBySelector delegate, {}, options, callback
+    {delegate} = client.connection
+    @fetchAccountVmsBySelector delegate, {}, options, callback
 
     # TODO: let's implement something like this:
     # failure: (client, callback) ->

        return {groupSlug, prefix, nickname, uid, type:'user', alias}
    return null

  # TODO: this needs to be rethought in terms of bundles, as per the
  # discussion between Devrim, Chris T. and Badahir  C.T.
  @createVm = ({account, type, groupSlug, usage, planCode}, callback)->

  @createAliases = ({nickname, type, uid, groupSlug})->
    domain       = 'kd.io'
    aliases      = []
    type        ?= 'user'

    if type in ['user', 'expensed']
      if uid is 0
        aliases.push "#{nickname}.#{groupSlug}.#{domain}"
