Added ability to submit a custom message.