Here, Terence Tao writes:
I do not discuss proper classes in the text, but if one wished to do so, then one would have to work on some external metatheory to one’s set theory, so that these classes would not be objects internal to the set theory. (There are some set theories which can handle such classes internally, such as von Neumann-Bernays-Gödel theory, but that is not the theory used in this text (or indeed in most mathematical literature).) One has to take some care distinguishing one’s mathematical theory from its metatheory, otherwise one can get hopelessly confused.
What would be an example of a class theory that handles classes “externally” (or is used in most mathematical literature)? Is the system of Morse-Kelley an example of such a theory?
No, Morse-Kelley also handles classes internally - that is, directly. Theories like ZFC handle classes externally: a "class" in the context of ZFC is just a formula (or rather, the collection of things in the model that formula defines). The point is that ZFC itself doesn't reason about classes; any statement such as "Every proper class is in bijection with the class of ordinals" is made by us, outside the language of ZFC.
(Clarification: the statement above is, in fact, not a consequence of ZFC - it's basically global choice.)