Move the APIKey bits out to the init