Small performance fix.