As used in this chapter, the term “agency” shall have the same meaning as defined in § 6301 of this title; provided, however, that the judiciary and the courts of the State shall be included in the meaning of the term “agency” when used in this chapter.