Formating messages with custom tags.