Renamed Element.set to Element.set_from_raw