Pure functional expectation chaining.
Fixing debug output.