Add TextWriter.