Attempt to fix serialisation errors after hybernation.
Attempt at fixing serialisation issue after hybernation.