Deserialize contexts.