Make some serialization work.