Remove publish hook.