public function removeNode(RiakNode $node)
    {
        $index  = array_search($node, $this->nodes);
        $result = isset($this->nodes[$index]) ? $this->nodes[$index] : null;

        if ($result === null) {
            return;
        }

        unset($this->nodes[$index]);

        return $result;
    }