Adding TypePrinter class to help with printing and linking of types.