Throw ObjectDisposedException where appropriate