Note to self: add `promise-extras` as a module and add test for it.