Updated prose to reflect use of promises.