Added serialization skeleton.