function setForcedMods($override, $mods, $multicall = false)
    {
        if (!is_bool($override)) {
            throw new InvalidArgumentException('override = ' . print_r($override, true));
        }
        if (is_array($mods)) {
            foreach ($mods as $i => &$mod) {
                if (!($mod instanceof Structures\Mod)) {
                    throw new InvalidArgumentException('mods[' . $i . '] = ' . print_r($mod, true));
                }
                $mod = $mod->toArray();
            }
        } elseif ($mods instanceof Structures\Mod) {
            $mods = array($mods->toArray());
        } else {
            throw new InvalidArgumentException('mods = ' . print_r($mods, true));
        }

        return $this->execute(ucfirst(__FUNCTION__), array($override, $mods), $multicall);
    }