Reduce number of warnings, especially unused typedefs.