Improve contexting of exports so that created objects during object initialization have the right child context.