Removing if_hook.