Added format() to Term.

No code yet.