Make AddRef/Release virtual
Fix quick example