Implemented the notification data class.