Added keyring initialisation.