def METHOD_NAME(self, obj):
    if not hasattr(obj, "CurrentDensity_re_1"):
        obj.addProperty(
            "App::PropertyCurrentDensity",
            "CurrentDensity_re_1",
            "Vector Potential",
            "Real part of current density x-component"
        )
        obj.CurrentDensity_re_1 = "0 A/m^2"
    if not hasattr(obj, "CurrentDensity_re_2"):
        obj.addProperty(
            "App::PropertyCurrentDensity",
            "CurrentDensity_re_2",
            "Vector Potential",
            "Real part of current density y-component"
        )
        obj.CurrentDensity_re_2 = "0 A/m^2"
    if not hasattr(obj, "CurrentDensity_re_3"):
        obj.addProperty(
            "App::PropertyCurrentDensity",
            "CurrentDensity_re_3",
            "Vector Potential",
            "Real part of current density z-component"
        )
        obj.CurrentDensity_re_3 = "0 A/m^2"
    if not hasattr(obj, "CurrentDensity_im_1"):
        obj.addProperty(
            "App::PropertyCurrentDensity",
            "CurrentDensity_im_1",
            "Vector Potential",
            "Imaginary part of current density x-component"
        )
        obj.CurrentDensity_im_1 = "0 A/m^2"
    if not hasattr(obj, "CurrentDensity_im_2"):
        obj.addProperty(
            "App::PropertyCurrentDensity",
            "CurrentDensity_im_2",
            "Vector Potential",
            "Imaginary part of current density y-component"
        )
        obj.CurrentDensity_im_2 = "0 A/m^2"
    if not hasattr(obj, "CurrentDensity_im_3"):
        obj.addProperty(
            "App::PropertyCurrentDensity",
            "CurrentDensity_im_3",
            "Vector Potential",
            "Imaginary part of current density z-component"
        )
        obj.CurrentDensity_im_3 = "0 A/m^2"
    # now the enable bools
    if not hasattr(obj, "CurrentDensity_re_1_Disabled"):
        obj.addProperty(
            "App::PropertyBool",
            "CurrentDensity_re_1_Disabled",
            "Vector Potential",
            ""
        )
        obj.CurrentDensity_re_1_Disabled = True
    if not hasattr(obj, "CurrentDensity_re_2_Disabled"):
        obj.addProperty(
            "App::PropertyBool",
            "CurrentDensity_re_2_Disabled",
            "Vector Potential",
            ""
        )
        obj.CurrentDensity_re_2_Disabled = True
    if not hasattr(obj, "CurrentDensity_re_3_Disabled"):
        obj.addProperty(
            "App::PropertyBool",
            "CurrentDensity_re_3_Disabled",
            "Vector Potential",
            ""
        )
        obj.CurrentDensity_re_3_Disabled = True
    if not hasattr(obj, "CurrentDensity_im_1_Disabled"):
        obj.addProperty(
            "App::PropertyBool",
            "CurrentDensity_im_1_Disabled",
            "Vector Potential",
            ""
        )
        obj.CurrentDensity_im_1_Disabled = True
    if not hasattr(obj, "CurrentDensity_im_2_Disabled"):
        obj.addProperty(
            "App::PropertyBool",
            "CurrentDensity_im_2_Disabled",
            "Vector Potential",
            ""
        )
        obj.CurrentDensity_im_2_Disabled = True
    if not hasattr(obj, "CurrentDensity_im_3_Disabled"):
        obj.addProperty(
            "App::PropertyBool",
            "CurrentDensity_im_3_Disabled",
            "Vector Potential",
            ""
        )
        obj.CurrentDensity_im_3_Disabled = True