Remove unnecessary typedefs.