Minor bug - this should be getKeyName