Update examples of extend and createChildContext to use a callback functions. Add reference to $rawData.