IndexLookup optimization.