Currently, most of the code is written such that it works only with a single notification or trigger. When there are multiple notifications or triggers, the interface is buggy as alert.notifications and alert.trigger code gets set to a service object instead of a list and so the client code can't even access them.