FYI I tried upgrading to sdk 4.0 today and my application crash when calling openbucket on line 156 of cluster.js.