Use constants instead of calling pack_varint32()