Remove config from the key.