Added callback class to get new messages.