Doc fix: Avoid prototype property to be changed

The extension examples accidentally change the prototype property.