Removed unused hooks.