Sounds good. We should then try not to expose the ScalaSourceFile factory and force all usages to go through the ``SourceFileProviderRegistry``. I'll see if this is something we can easily achieve.