New stream primitives