Some serialization things.