ADded type settter to dataset.