Flesh out serialization.