Promises conversion.  Fixes #65.