protected static function behavior(Component $model)
    {
        foreach ($model->getBehaviors() as $b) {
            if ($b instanceof SeoBehavior) {
                return $b;
            }
        }

        throw new InvalidConfigException('Model ' . $model->className() . ' must have SeoBehavior');
    }