StreamInsight utilities