Bug 1071167: WIP. Internal message handling.