Refactored "trigger" to "task".