Remove TED related stuff
Remove typedef for struct an enum