Deprecating old api key classes and moving functionality over to new api key resources.