'Return all callbacks linked to this object.
Returns:
All callbacks in a dictionary callback_name: callback}.  The callback
is returned as a namedtuple to simplify manipulation.'

def all(self):

    callbacks = {}
    handler = type(self).script
    if handler:
        dicts = handler.get_callbacks(self.obj)
        for (callback_name, in_list) in dicts.items():
            new_list = []
            for callback in in_list:
                callback = self.format_callback(callback)
                new_list.append(callback)
            if new_list:
                callbacks[callback_name] = new_list
    return callbacks
