Removing unused hook