Fixing typo.
Fixing typo in runHooks