Removed switch_to_active_element()