Template renderer: don't replace type aliases textually, dumb idea.  Also, rename type_values -> type_aliases.