Make dependencies to CsvWriter optional