@classmethod
def _load(cls, name):
    """
        Attemps to load the .so for a tcti given its name. Returns a subclass of
        TCTI.
        """
    return type('{}TCTI'.format(name.upper()), (cls,), {'NAME': name,
        'CONTEXT': type('{}TCTIContext'.format(name.upper()), (cls.CONTEXT,
        ), {'NAME': name})})
