Fix codegeneration for arryas.