Lookup no longer crashes if all type prefixes are bogus.