Completed PhraseTrigger class