Remove outdated hook