Prototype Access to DOpus Scripting Objects - Possible?

For a project I am working on I would like to add functionality to the PATH object. Is there a way of doing this without having to create my own constructor based on the current PATH?

This doesn't work, with or without the DOpus prefix:

DOpus.Path.prototype.isColl = function() {return ((this.pathpart.toLowerCase()=="coll://") && (this.filepart.length>0))}

The constructor solution does work but it would be nice to be able to add methods directly to the existing PATH object.

Edit: I also tried clickData.Path.prototype

It may not be supported by JScript and/or COM/automation objects. Not 100% sure, though.