Added serialization of user selected hidden variables