Fixed struct declarations

When declaring a struct, try to either use the new keyword or using the
default constructor. If you don't, then the member values on the struct
will have undetermined values in certain cases.