Rewrite conversion of named types to backend representation.