Added constructor to the generated DataModel class