Substituting multiple different array iterator implementations by a canonical one.