Readonly fix for arrays in Mod.cs