Minor changes in auto_partition.