Serialization and Deserialization methods added