Implemented streams tree based message filtering.