Add typedefs for structs