[small] Make a few members uint32_t rather than size_t.