Add an early implementation of Promises in the base package.