def remove_hook(self, key_name, hook_name):
        """Remove hook from the keyframe key_name."""
        kf = self.dct[key_name]
        if 'hooks' in kf:
            if hook_name in kf['hooks']:
                return kf['hooks'].pop(hook_name)
Remove hook from the keyframe key_name.