Add stream handler.