; and (ii) in subclause (c), by striking certifies to the Attorney General and inserting certifies to the Secretary of Homeland Security ; and (C) in subparagraph (M)(i), by striking the term Attorney General each place that term appears and inserting Secretary . (3) Immigration officer Section 101(a)(18) ( 8 U.S.C. 1101(a)(18) ) is amended by striking Service or of the United States designated by the Attorney General, and inserting Department or of the United States designated by the Secretary, . (4) Secretary Section 101(a)(34) ( 8 U.S.C. 1101(a)(34) ) is amended to read as follows: (34) The term Secretary means the Secretary of Homeland Security, except as provided in section 219(d)(4). . (5) Special immigrant Section 101(a)(27)(L)(iii) ( 8 U.S.C. 1101(a)(27)(L)(iii) ) is amended by adding ; or at the end. (6) Managerial capacity; executive capacity Section 101(a)(44)(C) ( 8 U.S.C. 1101(a)(44)(C) ) is amended by striking Attorney General and inserting Secretary . (7) Order of removal Section 101(a)(47)(A) ( 8 U.S.C. 1101(a)(47)(A) ) is amended to read as follows: (A) The term order of removal means the order of the immigration judge, or other such administrative officer to whom the Attorney General or the Secretary has delegated the responsibility for determining whether an alien is removable, concluding that the alien is removable or ordering removal. . (8) Title I and II definitions Section 101(b) ( 8 U.S.C. 1101(b) ) is amended— (A) in paragraph (1)(F)(i), by striking Attorney General and inserting Secretary