Added Model.all and Model.id getter functions