Updated the serialization.