protected function setStorage($values)
    {
        $vars = get_object_vars($values[0]);

        foreach ($vars as $type => $attributes) {
            $this->storage         = get_object_vars($attributes[0]);
            $this->storage['type'] = $type;

            if (isset($this->storage['primary'])) {
                $this->primary = $this->storage['primary'];
            }

            break;
        }
    }