Restore setting of virtual attributes in #_set_attr