Game object serialization.