Add messages to layouts.