Fix reify and api_key bugs.