Massive update. Notifications are now mapped using doctrine inheritance mapping. This allows each notification to contain different fields depending on its type.