Fix typo to allow use of stream parameter type