Adding simple memory stream.