public function removePath($path) { foreach ($this->lookup as $i => $p) { if ($p === $path) { unset($this->lookup[$i]); } } }