protected function populateAttributes(\Guzzle\Service\Resource\Model $data)
    {
        if (isset($data['Attributes'])) {
            $attributes = array();
            foreach ($data['Attributes'] as $name => $value) {
                list ($type, $value) = each($value);
                $attributes[$name] = new Attribute($value, $type);
            }
            return $attributes;
        } else {
            return null;
        }
    }