    public function setAttributes ($values, $safeOnly=true) {
        if (isset ($values['type']) && $this->type !== $values['type']) {
            $this->_typeChanged = true;
        }
        return parent::setAttributes ($values, $safeOnly);
    }
The product receives input or data, but it does
        not validate or incorrectly validates that the input has the
        properties that are required to process the data safely and
        correctly.