cleanup stream classes and bindings