Fixed typo in constructor

`key` -> `get_key`