Changed the number of messages created when sending events.