[fix] make the `new` operator optional since it is necessary when we att...

...ach methods to the prototype