Add lookupName function.