Update generator

  - Generate initializer instead
  - Tests not working