Work on serialization.