CRUD functions for deck object