Add new method to detect notifications