@classmethod
def register(cls, name, searcher):
    """ register principal searcher:

        .. code-block:: python

          def searcher(term):
              ...

          ptah.principal_searcher.register('test', searcher)

        """
    cls(name, 2)(searcher)
