public function offsetSet($element, $value)
    {
        $map = $this->getMap();
        if ($value) {
            $map[$element] = true;
        } else {
            unset($map[$element]);
        }
    }