Replace use of ObjectVariantMapper:: RegisterClass<> with AddClass<>; and lose TypeMappingDetails::CTOR (no longer needed);