A smarter (more extensible) way to do content type icons