Can AddApplication and SetEvents be joined into a single "AddApplication" ?