In the MaterialTypethe Densityhas the TypeDefinition AnalogUnitType which includes the used unit. AnalogUnitTypecannot be used as InputArgumentof a method. Therefore, the MaterialListTypehas the Property DensityUnitand the unit given there is the basis for the Density InputArgumentin the method AddMaterial.