Remove unused hooks.

[merge]