Correct a typo in hooks' documentation