Changed expansion code to use the ResourceType’s setPropertyValue.