     if !cb? and typeof cbOrIdOrKey is 'number' and typeof cbOrKey is 'function'
       @getKey cbOrIdOrKey, cbOrKey
     else if !cbOrKey? and !cb? and typeof cbOrIdOrKey is 'number'
-      @delKey cbOrIdOrKey
+      @deleteKey cbOrIdOrKey
     else if !cb? and typeof cbOrKey is 'function' and typeof cbOrIdOrKey is 'object'
       @createKey cbOrIdOrKey, cbOrKey
     else if typeof cb is 'function' and typeof cbOrIdOrKey is 'number' and typeof cbOrKey 'object'

    if cb? and typeof cbOrEmails isnt 'function'
      @setEmails cbOrEmails, cb
    else if !cb? and typeof cbOrEmails isnt 'function'
      @delEmails cbOrEmails
    else
      @client.get '/user/emails', (err, s, b)  ->
        return cb(err) if err


  # Delete a public key
  # '/user/keys/1' DELETE
  deleteKey: (id) ->
    @client.del "/user/keys/#{id}", {}, (err, s, b)  =>
      @deleteKey(id) if err? or s isnt 204

  # Create a repository
  # '/user/repos' POST
