remove unused typedefs.