Register text writer.