Add additional constructor for InputStreamWrapper