Added support for Trivia.

We need to retain info on trivia in order to color it correctly.
Eventually, we made want to support linked trivia. However, to my
knowledge this is only present in C# and VB .Net, so it might not be
worth worrying about just yet.