Use Object.create to avoid modifying the prototype in spec