#132 moved init attributes in WriteInitMethod + Minor changes for method count at WriteMethods