Refactor the way DataSets are constructed and operated.