Support for stream parser. Closes #21