Add serialization framework.