Add done() to promise.