I\'m building a message formatter that has a bunch of different kinds of messages it can build. Depending on what kind of message it\'s building, different render functions