Fix hooks.