@classmethod
def register_allow_subclass(cls, orig):
    """Register that we can create objects of class `repl` by creating an object of a subclass.

        :param orig:
        """
    cls.allow_subclass.add(orig)
