Added ability to add custom data to a message.
Closes #15