docs: def to_dict(self, depth=-1, **kwargs):
          """Returns a dict representation of the object."""
          out = super(Link, self).to_dict(depth=-1, **kwargs)
          out['url'] = self.url
          return out