lookupType is implemented via lookupScope