Support a doneCallback