Simplified Disposable and Stream classes.