Changing sizet to int32 in places.