Add referenced typedefs.