Partition list; needs tests.
Promoted from lab.