support passing $class as ReflectionClass in set_traversal_item_class
ah, Mixed up with another project