Serialization with state now does something. SerializationUtil refactoring.