Improving the serialization process.