Removed check_protocols and changed anchor_element()