'Cleaning up handlers on the typeclass level'

def delete(self):

    global TICKER_HANDLER
    self.permissions.clear()
    self.attributes.clear()
    self.aliases.clear()
    if hasattr(self, 'nicks'):
        self.nicks.clear()
    self.delete = self._deleted
    super(TypedObject, self).delete()
