Updated some stale code in the ActiveX wrapper.