MemStream::new no longer takes any parameters.