Fix deprecation warning for ClientV2