Add code to generate virtual destructor
Serializer/Deserializer class should be include directly