Commented/documented serialization.h