Added HDF5 example. Various serialization updates.