Change writeSeriesData() interface.