Made all methods creating a new entry to return the id of it