Filter by class.