remove legacy notifications code