Implement Stream object parsing