Supporting auto-increment for the PK fields.