Add modes for partitioning handlers and sorters