Introduced separate output class. Now different filter state gathering needed.