Same for serialization here.