rename function 'get_key' => 'get_keypair'