Serialization Template, readData implementation.