'Remove calls to add_event().'

def get_events(self):

    disallowed = [ident(self.add_event.im_func), ident(ident)]
    self.frames = None
    return [item for item in self.events if (item[2] not in disallowed)]
