Move partition to collection methods
Merge pull request #1682 from megawac/partition

Move partion to collection methods