Moved init values out on auto generated code