Creating a dataset object.