Fixed destructors; Added serialization methods for STL containers