changes supporting development of typed CORS (freya.types.cors)