Fix type signatures for methods that return an IPromise