Merge pull request #39 from jordandukart/7.x

Prevent validation error.
Misnamed hook name.