MODE-2294: Remove useless serialization useless declaration