Removed unused (and mistyped!) require statement in CORS hook.