 
         ret
 
+      ###
+      # Sends the message described by @params to easyXDM
+      # @param {Object} contains the provider, uri and parameters for the message
+      # @param {Function} optional a success callback
+      # @param {Function} optional an error callback
+      # @return {Promise}
+      ###
       message = (params, callback, errback)->
         console.error("Api not initialized yet") unless rpc
         promise = core.data.deferred()


        promise

      normalizeAPIArguments = (argsArray)->
        defaultProvider = 'hull'
        description = argsArray.shift()


        path        = path.substring(1) if path[0] == "/"
        path        = [provider, path].join("/")
        ret         = [path]
        ret.push(params) if params?
        ret.concat(argsArray)

      exec = (m)->
        method = m
