give a better name to type declarations in the IR