Reimplemented flushing with MessageList.