Also support reflection for the class trigger
Merge pull request #1379 from henryzhao81/master

Also support reflection on the class trigger