Made all size and offsets UInt32 (from int).