Made the StreamWrapper easily extendable