Distinct node can optionally use a lookup key.