Warn if hook is attached to resource that is not registered
Merge pull request #26 from flyvictor/warn-if-hook-is-not-defined

Warn if hook is attached to resource that is not registered