Added all_hooks_for_class