codegen: no accessors, added static init