CDK-122: Moving interfaces into DatasetWriter.