Updates Disposable to optionally accept a disposal action.