Add iterator promises. Fix typos in arrayPromise