Remove duplicate typedefs.