Add functionality to send messages