Use correct serialization functions.
grr git