Support stream input