improve ClosureReflection::withContext