Serialize fix for double declariation