API changes in RequestCtx and DeviceCtx