Can we remove this method now that it's also defined in PartitionStrategy.scala?