The param should not be named as `key_pair` anymore.