These getters and setters are the same as before, just amended to pass in the key.