Core: Get rid of C-style struct typedefs

Could have sworn I had gotten rid of these, but I guess I must have missed them.