Gets rid of base_layers.