'Load a plugin'

def addPlugin(self, p):

    self.plist.append(p)
    for mthd in p.implements:
        try:
            self.pmthds[mthd].append(getattr(p, mthd))
        except KeyError:
            self.pmthds[mthd] = [getattr(p, mthd)]
