}
RubyScript rubyScript = implementation.getRubyScript();
// TODO: have ComponentBuilderExtension pass ScopeContainer in on build method?
ScopeContainer scopeContainer;
Scope scope = componentType.getLifecycleScope();
if (Scope.MODULE == scope) {
scopeContainer = deploymentContext.getModuleScope();
} else {
scopeContainer = scopeRegistry.getScopeContainer(scope);