Writing to static arrays works.
Added code for putstatic (static fields are now filled in).