Working on serialization.