Added defineNotificationSubscription utility function
Revert "Added defineNotificationSubscription utility function"

This reverts commit c2131635fd58bb205915b4874c7b9445d4de1d26.