Improvements in TypeDescriptorRegistry