Adding type to notifications