Use Object.create() instead of new operators.
This change uses the Object.create() method to copy prototype methods.