Fix types for the current Dao.