my @plugins;
while (my ($name, $config) = splice @spec, 0, 2) {
my $info = $plugin_map->{$name};
+ die "No class for plugin name ${name}" unless $info->{class};
push @plugins,
use_module($info->{class})->new(
($info->{config}||sub{})->(), %$config, page => $self,