this should be like `$kernel->get('sugar')->getConfig()` to keep the components separated.