Added stream attribute