adding IDisposable to Stubby class