Author variants within Unity USD with pxr.UsdVariantSet

I’m trying to create a custom USD asset which has variants through the Unity USD package.
But when try to author the variants with below function,

using (var context = lodVariants.GetVariantEditContext())
        {)

It gives an error since the context type is not implicitly convertible to IDisposable.
Below is the exact error displayed in the editor.
Type ‘pxr. SWIGTYPE_p_std__pairT_UsdStageWeakPtr_UsdEditTarget_t’ used in a ‘using’ statement must be implicitly convertible to ‘System. IDisposable’

Any recommendation to resolve this?

Thank You.