Fix exception when including this in a project without TriggerAction