FORGE-1872: Ensuring the class is loaded through the correct classloader