layer.detach() for Sketch-53-Beta
Hello,  mathieudutour: 
In Sketch-53-Beta; 
when I using `layer.detach()` in js code; will cause an error:
`
>error: MOJavaScriptException: TypeError: this._object.detachByReplacingWithGroup is not a function. (In 'this._object.detachByReplacingWithGroup()', 'this._object.detachByReplacingWithGroup' is undefined)
value SketchAPI_dom.js:1:66551
`

Sketch 52, 51 is OK..

Is there a problem of SketchJSApi released in Sketch-53-Beta; or I missed something?
Thank you for helping me!
