Added GHC.Generics import in generated code.