Make a bunch of CompileUnit member functions private.