Changed to the more preferred way of sending messages.