Flow control (loops, arrays, etc) with promises and Q.