Performed lookup for references to constants.