Streams allowed as parameters and return values