Changed return type of calls from HttpPromise to just promise. Updated version.