Add processing message logic.