Remove all callbacks

        :param str name: Hook name

def unregister_all(self, name):
        """
        Remove all callbacks

        :param str name: Hook name
        """
        try:
            templatehook = self._registry[name]
        except KeyError:
            return

        templatehook.unregister_all()