Add a few functions, only prototype for subsetDataset