Start of a more flexible system for generating messages.