Updating documentaiton for use with Promises.