docs: def label_from_instance(self, obj):
          """
          Creates labels which represent the tree level of each node when
          generating option labels.
          """
          return u'%s %s %i' % (self.level_indicator * (getattr(obj, 'depth') - 1), smart_unicode(obj), obj.depth)