Fix add-hook typo.