removed all references to APIKey as a concrete model