Create TriggerFactory.