After deserialisation do some variable setting...