get_all_instances is deprecated