Reimplement more serialization routines.