Add clear and flush to DAO