Added support of pattern matching against a list containing streams.