Pass A2Gid by value, since it is uint64_t