Inject reference to extension into configurator closure to register autoload