Add transactional functions to the DAO class