Refactor and stub out Excel writer.