Changed getStruct.