With the advent of the new `for` protocol, I think this function should be removed.