Add stream handler