make copying of MethodContext propagate to its childen's parent attribute