Generic definition of lookup value method.