@classmethod
def wrap(cls, instance):
    """Wrap an object instance.
        
        The wrapped object does not need to derive from :class:`dbusx.Object`.
        Wrapping an object allows you to expose an existing object hierarchy on
        D-BUS without changing it to inherit from :class:`dbusx.Object`.
        """
    self = cls()
    self.wrapped = instance
    return self
