Add some utility methods to DAO.