Use proper assertions.
Implementing support for Futures in the distributed executor.