Implemented more versatile lookup node.