Adding prompt semantics to message window.