First working expected-based future promise implementation.