Convert API keys to instance variables