Altered keystore load process.