Added abstraction to notifications so notifications that need to display cards will work better