public function matchMode($mode)
    {
        if (!self::validMatchMode($mode)) {
            throw new WURFL_WURFLException('Invalid Match Mode: '.$mode);
        }
        $this->matchMode = $mode;
        return $this;
    }