Fixed loading of datasets.