Fixed API key and timeout arguments not being passed correctly.