Eliminate dependency on List::MoreUtils