Xenium avoid calling get_element_instances(); fix deprecation warning
#369
+64
−166
get_element_instances(); fix deprecation warning
#369