Added solution writer.