Added messages to custom DOM element.