Add structs from C API