Added pagination to dataset.