Attempt at optimizing underlying lookup.