Added capability to send messages, which is untested for now