Initialize @messages at instantiation time.