Support streaming input (Very WIP)