Added memory-streams