Add deserialisation of session effect