def METHOD_NAME(self, name: str) -> IReactorCore:
    """
    Install the reactor.
    """
    if name == self.defaultReactorName:
        from twisted.internet import reactor
        return cast(IReactorCore, reactor)
    else:
        return METHOD_NAME(name)