Fix typo (RefId -> RefNum)