Added move semantics to Stream