Support pass stream on 0.8.x.