Added primary key ids to model