Updated setter to assert message exists.