Added a partitioner for the data.