Really, really simple wrapper to easily create promise-like APIs.