Wrap Node-callback functions and methods to return Promises.