Handle typedef problems