Fix serialization issue.