Update Notification.php - Work with Objects