Add a function to get a data set.