Generate pojos on construction.