Rewrite so deprecation error isn't triggered every time the client is instantiated

Created a backwards compatible version of the client, that fixes deprecation errors triggered on all and every time the client is instantiated.