You could make it an "interface" by calling it like:
(".accepts-notifications").scope().addNotification( notification )
This way anything with the className accepts-notifications and an addNotification method would work.