Remove `getKey`.

Closes #258.