I don't think we want to have the extend method on the prototype. This would mean that it would be possible to extend from an instance, which is odd behaviour.

It should only be possible to extend from a constructor. The extend property should be added to the new constructor (as was on ln186).