We may still want duplicate names in the same spec to raise an error.