Get rid of deprecated warning in TableWriterSpec.