Refactor #5684 : Add 2.x createWithXXX functions to support old API, dep...

...recate all create.* functions