Added proper-ish error writer.