Adding optimized DefaultPartitionSet, better documentation, and tests.