Wrap Node-callback functions to return Promises.