     return provider
 
   constructor: (@options={}) ->
-    @apiClient = Provider.apiClient
+    @legacyClient = Provider.apiClient
 
     #TODO Provider.fromBackend(backend)
     @backend = @options.backend

    return new Promise (resolve, reject) =>
      steroidsCli.debug "PROVIDER", "Getting providers from cloud"

      @apiClient.get "/app/#{dataHelpers.getAppId()}/service_providers.json", (err, req, res, obj) =>
        @apiClient.close() #TODO: wat

        if err?
          steroidsCli.debug "PROVIDER", "Getting providers from cloud returned failure: #{JSON.stringify(obj)}"

restify = require "restify"

request = require "request"

paths = require "../paths"
Login = require "../Login"
