Cleanup.
WIP BuildOutputStream.