Added support for getting paths from the dataset.