@staticmethod
def _create_wrapper(cls_spec, element_info, myself):
    """Create a wrapper object according to the specified element info"""
    if cls_spec != myself:
        obj = object.__new__(cls_spec)
        obj.__init__(element_info)
        return obj
    new_class = cls_spec.find_wrapper(element_info)
    obj = object.__new__(new_class)
    obj.__init__(element_info)
    return obj
