Updated serialization for int aggregates.