Add stream extension