Change message class.