Change Database.WriteSeries() to accept multiple values.