Can now read frames from and write frames to streams.