Efficient PR works with message serialisation.

This should help with distributed debugging.