Add colors and templates for messages of different types.