Update to new Futures (renamed to Promises) API.