Cleaned up collect()/eq_slice() usage in Element::has_class