Added 'mark_as_read' method to invites