Added mchat prefix and suffix replacement.