Rewrite of 4.1.6 Context

Usual rewrite and restructuring.
Note that the "platform" property is not final in the original text.