Create minimal stream wrapper.

Closes #8.