Move from a typeclass to a structure of properties interface for terminals and display contexts.