Better way to instantiate proxy for IDisposable .