Support virtual attributes (add if-switch to #previously_saved_value)