replace some CeL.extend() with CeL.set_method() and Object.assign().