Factory is no longer an iterator, updated condition to use +Factory::hasInstance.