Fix compilation error + create default stream methods