Add message getter and setter