Expanded printTerm to cover the new term types.