Change to recursion implementation of communication conversion to
document, instead of iteration.
Moving this conversion code from DocumentWrapper to ImplicitConversion.