@eracerhead these functions (this.sendNotification()) are being used to trigger something in one module from inside another module. It is only needed for module developers.
You could create e.g. a module with control functions including these.