Clean up halo exchange.
Update some documentation.