Shorten corsHandler signature.