Hacks to allow repairs of fields used to define layouts of arrays.