Adding extract_element.