SA0018: TextResourceLoader class and Backend class should not have a reference to the session