'Start the XEP-0030 plugin.'

def plugin_init(self):

    self.xmpp.register_handler(Callback('Disco    Info', StanzaPath('iq/disco_info'), self._handle_disco_info))
    self.xmpp.register_handler(Callback('Disco    Items', StanzaPath('iq/disco_items'), self._handle_disco_items))
    register_stanza_plugin(Iq, DiscoInfo)
    register_stanza_plugin(Iq, DiscoItems)
    self.static = StaticDisco(self.xmpp, self)
    self._disco_ops = ['get_info', 'set_info', 'set_identities', 'set_features', 'get_items', 'set_items', 'del_items', 'add_identity', 'del_identity', 'add_feature', 'del_feature', 'add_item', 'del_item', 'del_identities', 'del_features', 'cache_info', 'get_cached_info', 'supports', 'has_identity']
    for op in self._disco_ops:
        self.api.register(getattr(self.static, op), op, default=True)
