Restore autoGenerate function and add a deprecated
Restore autoGenerate function and add a deprecated

huang-lu/ProxyManager,Ocramius/ProxyManager,pascaldevink/ProxyManager,localheinz/ProxyManager,malukenho/ProxyManager,huang-lu/ProxyManager,malukenho/ProxyManager,huang-lu/ProxyManager,pascaldevink/ProxyManager,pascaldevink/ProxyManager,localheinz/ProxyManager,malukenho/ProxyManager,localheinz/ProxyManager