Optimise frontend node lookup.