Using the good old javascript classes, I can create a proxy object and bind it to the other functions constructors, see what I want to do in the example below:
proxy