Properly setting API key. (fixes #13)