Added validator to get_notifications()