Moving from unique/shared to ComPtr for COM stuff