Removed unused hook.