Removes all calls to Util.lookupCompound and replaces them with the NameResolver class.