sms: Save/del structures and related values