Adding auto-generation of an id.