Renaming CorsConfig methods to be consitent with naming conventions.