MemStream no longer takes an params