no longer typedef nx_structs