How to achieve syncshell service in Net::SSH v2?



I have been using Net::SSH package for quite a long time and been using
syncshell service that was introduced in the initial version of net-ssh

After upgrading to newer version I found that I can no longer use
syncshell and have to manually open channel and provide callbacks for
execution of each command. Please somebody enlighten me if there is any
easier way to do this.