Added example of message use, changed handle message function to not require second parameter.