modified on ScopedHandle and other classes that use the ScopeHandle.