Made the base stream accessible inside the text reader and text writer.