@classmethod
def _AddElement(cls, element):
    """Method used by generated code to associate the element binding with a use in this type.

        This is necessary because all complex type classes appear in the
        module prior to any of the element instances (which reference type
        classes), so the association must be formed after the element
        instances are available."""
    return cls._UseForTag(element.name())._setElementBinding(element)
