Changed the interface of Serialization