; (II) by striking Department and inserting agency, department, ; and (III) by striking Service. and inserting Department or upon consular officers with respect to the granting or refusal of visas ; (vi) in paragraph (7)— (I) by striking He and inserting The Secretary ; (II) by striking countries; and inserting countries ; (III) by striking he and inserting the Secretary ; and (IV) by striking his judgment and inserting the judgment of the Secretary ; (vii) in paragraph (8), by striking Attorney General and inserting Secretary ; (viii) in paragraph (10), by striking Attorney General each place that term appears and inserting Secretary ; and (ix) in paragraph (11), by striking Attorney General, and inserting Secretary, ; (B) by amending subsection (c) to read as follows: (c) Secretary; appointment The Secretary shall be a citizen of the United States and shall be appointed by the President, by and with the advice and consent of the Senate. The Secretary shall be charged with any and all responsibilities and authority in the administration of the Department and of this Act. The Secretary may enter into cooperative agreements with State and local law enforcement agencies for the purpose of assisting in the enforcement of the immigration laws. ; (C) in subsection (e)— (i) in paragraph (1), by striking Commissioner and inserting Secretary ; and (ii) in paragraph (2), by striking Service and inserting U.S. Citizenship and Immigration Services ; (D) in subsection (f)— (i) by striking Attorney General and inserting Secretary ; (ii) by striking Immigration and Naturalization Service and inserting Department ; and (iii) by striking Service, and inserting Department, ; and (E) in subsection (g)(1), by striking Immigration Reform, Accountability and Security Enhancement Act of 2002 and inserting Homeland Security Act of 2002 ( Public Law 107–296