Added treatment of completion transitions (transitions without a trigger).