Fix get typedefs definitions