Added snippets for serialization
Added doxygen comment for serialization function declarations