Improvements in TypeCache and DataContractSerializerFactory