Remove old version of hook.