Revert "Added notify function"

This reverts commit 781760331867f901082cdc84ad9809b8fd42ff7e.