Added abstract class for notifications