Add a minimal promise.

Closes #13.