Updated class Key.