Method name changed from get_instances to connect