Safer COM object mixin