Not sure. This is the same logic as before. But changed only because now I have to call a method on ArtifactClassLoader to get the class loader.