Replace get_context_instance(CONTEXT_SYSTEM) with context_system::instance()