Dynamically populate msg from UI from arg classNames.