Added stream head, pushback, and chunked stream functions.