protected function prepareCheckboxes(array $boxes, $prefix)
    {
        foreach ($boxes as $box) {
            if (is_array($box)) {
                $this->prepareCheckboxes($box, $prefix);
            } else {
                /* @var $box Checkbox */
                $box->setName($prefix . $box->getName());
            }
        }
    }