Don't use text_set_element if not defined.