Add class filter for console runner.