Fix serialization warning