Added some basic serialization stuff