'Setup and configure events and stanza registration for
the given PEP stanza:
- Add disco feature for the PEP content.
- Register disco interest in the PEP content.
- Map events from the PEP content\'s namespace to the given name.
:param str name: The event name prefix to use for PEP events.
:param stanza: The stanza class for the PEP content.'

def register_pep(self, name, stanza):

    pubsub_stanza = self.xmpp['xep_0060'].stanza
    register_stanza_plugin(pubsub_stanza.EventItem, stanza)
    self.add_interest(stanza.namespace)
    self.xmpp['xep_0030'].add_feature(stanza.namespace)
    self.xmpp['xep_0060'].map_node_event(stanza.namespace, name)
