Fixed kryo to properly instantiate with the correct classloader