Implementation of the Promises/A+ specification.