Added scope for sampling of the dataset.