Warn if hook is attached to resource that is not registered