deprecated get_context_instance()