public function removeTokenAt($index) {
        // Remove token from behind
        if ($index < 0) {
            $index = count($this->tokens) + $index;
        }
        array_splice($this->tokens, $index, 1);
    }