Handle rewriting frozen arrays.