Completed repository, re-construct dao.