Move deployment APIs to the SDK