Remove dead code from trigger controller