Imported missing stream.read().