Modifier getKey and add setKey