protected function buildAliases()
    {
        $this->routes = ArrayHelper::merge($this->defaultRoutes, $this->routes);
        foreach ($this->routes as $alias => $route) {
            Yii::setAlias($alias, $route);
        }
    }