Corrected bug with injection of messages.