Renamed exchange headers to property kets
Updated references to ctx to exchange