API keys added to class objects upon instantiation