Little library for handling promises.