Extension methods for IEnumerable<T>.