Added checks to ClassDesc registry for duplicate names for distinct types.