     [appId, version] = [@_applicationID, @_applicationVersion]
 
     unless @_storage
-      KD.whoami().fetchStorage {appId, version}, (error, storage) =>
+      KD.whoami().fetchAppStorage {appId, version}, (error, storage) =>
         unless error
           callback? @_storage = storage or {appId, version, bucket:{}}
           @emit "storageFetched"


class AppStorage extends KDObject

  constructor: (appId, version)->

    super
    @appStorages = {}

  storage:(appName, version = "1.0")->
    key = "#{appName}-#{version}"
    @appStorages[key] or= new AppStorage appName, version
    storage = @appStorages[key]
    storage.fetchStorage()
    return storage

