Use class instead of type for canonize multimethod.
Add color-text helper function.