Initial stream support

See #2