docs: def get_extensions(self, klass):
          """Return all registered extensions of a class.
  
          :param klass: Class to get registered extensions for
          :return: All registered extensions for given class
          """
          self.discover_extensions()
  
          return self._extensions.get(self._get_class_path(klass), [])