Improved setters for message and used asserts.