Should be merged into TeamDao.