Added missing markAsRead method