 
   @cache = (query, kite)->
 
-    queryString = generateQueryString query
+    queryString = @generateQueryString query
     kite = proxifyTransport kite
     try storage[signed queryString] = JSON.stringify kite
     log "Kite cached with '#{queryString}' queryString."

  @unset = (query)->

    if typeof query is 'object'
      query = generateQueryString query

    delete storage[signed query]


    console.log "[KC] ", rest...


  @generateQueryString = (options)->

    keys = [ "username", "environment", "name",
             "version", "region", "hostname", "id" ]
