Added output writer.