@classmethod
def _bld(cls, adapter, tag=None, has_metadata=None, ns=None, attrib=None):
    """Create a fresh ElementWrapper.

        :param adapter: A pypowervm.adapter.Adapter (for traits, etc.)
        :param tag: XML tag for the ElementWrapper's root Element.
        :param has_metadata: If True, a basic <Metadata/> child is created
                             under the root element.
        :param ns: XML namespace for the contents.
        :param attrib: XML attributes for the root element.
        """
    ret = cls()
    ret.element = cls._bld_element(adapter, tag=tag, has_metadata=
        has_metadata, ns=ns, attrib=attrib)
    return ret
