Better performance in ScClsStubBuilderFactory.