Consider the built-in typenames too.