Added a streaming interface