Small fix in StreamingHandler factory method