Example of setting message 'type'.