arrayTypeCache is no longer global