Correction to Q.resolve signature