public function addCodeDefinitionSet(CodeDefinitionSet $set)
    {
        foreach ($set->getCodeDefinitions() as $def) {
            $this->addCodeDefinition($def);
        }

        return $this;
    }