Moving emissions filtering logic into dedicated class.