fixed product decoder (missing import)
improvements of TypeDescriptor handling related to #2