New serialization system. Broken, do-not-use.