Fix instance.set for virtual attributes