Add isNameUnique & getAllNames methods to DAO.