Make compatible with when.js defer.promise.